import Vuex from 'vuex';
import Vue from "vue";
import product from "@/store/product";
import createPersisted from "vuex-persistedstate"
import jd from "@/store/jd";
import adv from "@/store/adv";
import cart from "@/store/cart";
import user from "@/store/user";
import order from "@/store/order";
Vue.use(Vuex);
const store = new Vuex.Store({
    plugins:[
        new createPersisted({
            key:"yuma",
        }),
    ],
    modules:{
        product,
        jd,
        adv,
        cart,
        user,
        order
    }
});
export default store;